package com.example.stuwork.pojo;

import java.util.Date;

/**
 * 班级课程关联实体类
 */
public class ClassCourse {
    
    /**
     * 课程编码
     */
    private String courseId;
    
    /**
     * 班级ID
     */
    private Long classId;
    
    /**
     * 授课教师工号
     */
    private String teacherId;
    
    /**
     * 课程状态：未开始、进行中、已结束
     */
    private String status;
    
    /**
     * 学期
     */
    private String term;
    
    /**
     * 创建时间
     */
    private Date createTime;
    
    /**
     * 修改时间
     */
    private Date updateTime;
    
    /**
     * 课程名称（非数据库字段）
     */
    private String courseName;
    
    /**
     * 班级名称（非数据库字段）
     */
    private String className;
    
    /**
     * 教师名称（非数据库字段）
     */
    private String teacherName;
    
    /**
     * 默认构造函数
     */
    public ClassCourse() {
    }
    
    // Getter和Setter方法
    
    public String getCourseId() {
        return courseId;
    }
    
    public void setCourseId(String courseId) {
        this.courseId = courseId;
    }
    
    public Long getClassId() {
        return classId;
    }
    
    public void setClassId(Long classId) {
        this.classId = classId;
    }
    
    public String getTeacherId() {
        return teacherId;
    }
    
    public void setTeacherId(String teacherId) {
        this.teacherId = teacherId;
    }
    
    public String getStatus() {
        return status;
    }
    
    public void setStatus(String status) {
        this.status = status;
    }
    
    public String getTerm() {
        return term;
    }
    
    public void setTerm(String term) {
        this.term = term;
    }
    
    public Date getCreateTime() {
        return createTime;
    }
    
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    
    public Date getUpdateTime() {
        return updateTime;
    }
    
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
    
    public String getCourseName() {
        return courseName;
    }
    
    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }
    
    public String getClassName() {
        return className;
    }
    
    public void setClassName(String className) {
        this.className = className;
    }
    
    public String getTeacherName() {
        return teacherName;
    }
    
    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }
    
    @Override
    public String toString() {
        return "ClassCourse{" +
                "courseId='" + courseId + '\'' +
                ", classId=" + classId +
                ", teacherId='" + teacherId + '\'' +
                ", status='" + status + '\'' +
                ", term='" + term + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", courseName='" + courseName + '\'' +
                ", className='" + className + '\'' +
                ", teacherName='" + teacherName + '\'' +
                '}';
    }
} 